<template>
  <div id="index">
    <sh-header ref="header"
               @left="back"
               title="查询违章"></sh-header>
    <div id="main">

    </div>
  </div>
</template>
<script>
  import utils from 'utils'
  import etccb from 'etccb'
  import http from 'http'

  export default {
    data() {
      return {
        token: utils.getToken(),
      }
    },
    beforeCreate() {
      utils.setAppInfo.call(this);
    },
    mounted() {
    },
    beforeDestroy() {
    },
    methods: {
      back() {
        etccb.closeWebView();
      },
      init() {
        http.jsonp.call(this, {
          //TODO
          debugData: {
            "code": 0,
            "data":{},
          },
          sld: "",
          path: "",
          params: {
            token: this.token
          }
        }).then((data) => {
//          console.log(data);
        }).catch((error) => {
          console.error(error);
        });
      },
    },
    computed: {
    }
  }
</script>

<style lang="scss">
  @import "../assets/css/utils";

  #index {
    #main {
    }
  }
</style>
